﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Domain.Entity
{
    public class Picture
    {
        [Key]
        [HiddenInput(DisplayValue=false)]
        public int Id { get; set; }

        [HiddenInput(DisplayValue = false)]
        public byte[] ImageData { get; set; }

        [HiddenInput(DisplayValue = false)]
        public string ImageMimeType { get; set; }

        [InverseProperty("Pictures")]
        public Game Game { get; set; }
    }
}
